ConnectivityMonitor

Creates the iOS monitor, backed by NWPathMonitor. Create one per process.

From Swift, observe it with observe(onChange:), which returns a handle to close().

Throws

if the configuration is invalid.


Builds the configuration with block and creates the iOS monitor; see the overload above.